<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统管理首页</title>
    <link rel="stylesheet" href="../css/main.css">
    <link rel="stylesheet" href="../css/bootstrap.css">
</head>
<body>
<div class="container">
    <div class="row bg-black text-light" style="min-height: 60px">
        <div class="col-2"><img src="img/market.jpg" width="100%" alt=""></div>
        <div class="col-8 text-center"><p>欢迎使用超市管理系统</p ></div>
        <div class="col-2">
            <span>当前用户</span>
            <span th:text="${username}"></span>
            <span><a href="/logout">退出</a></span>
        </div>
    </div>
    <div class="row" style="min-height: 400px;">
        <div class="col-2 bg-dark text-light">
            <li><a href="/main">管理系统首页</a></li>
            <li><a href="/devices/devicesList">商品管理</a></li>
            <li><a href="">供应商管理</a></li>
        </div>
        <div class="col-10">
            <p>这是新增商品表</p >
            <form action="/devices/devicesAddProcess" method="post">
                <div class="form-control">
                    <label for="">商品名</label>
                    <input type="text" name="name" id="">
                </div>
                <div class="form-control">
                    <label for="">商品价格</label>
                    <input type="text" name="price" id="">
                </div>
                <div class="form-control">
                    <label for="">数量</label>
                    <input type="text" name="quantity" id="">
                </div>
                <div class="form-control">
                    <label for="">种类</label>
                    <input type="text" name="category" id="">
                </div>
                <div class="form-control">
                    <label for="">供应商</label>
                    <input type="text" name="supplier" id="">
                </div>
                <div class="form-control">
                    <input type="submit" value="提交">
                </div>
            </form>
        </div>
    </div>
</div>
<script src="../js/jquery.js"></script>
<script src="../js/bootstrap.js"></script>

<!--<p>这是系统管理首页，欢迎登录</p >-->
<!--<tr th:each="user:${data}">-->
<!--    <td th:text="${user.name}"></td>-->
<!--    <td th:text="${user.password}"></td>-->
<!--</tr>-->
